package com.ychug.service.cms.entity;
import com.ychug.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 内容模型表 cms_model
 * 
 * @author mcpcms
 * @date 2019-07-06
 */
public class CmsModelEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 模型编码 */
	private Integer modelId;
	/** 站点ID */
	private Integer siteId;
	/** 类型 */
	private String type;
	/** 模型名称 */
	private String name;
	/** 编号 */
	private String number;
	/** 顺序 */
	private Integer seq;

	public void setModelId(Integer modelId) 
	{
		this.modelId = modelId;
	}

	public Integer getModelId() 
	{
		return modelId;
	}
	public void setSiteId(Integer siteId) 
	{
		this.siteId = siteId;
	}

	public Integer getSiteId() 
	{
		return siteId;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setNumber(String number) 
	{
		this.number = number;
	}

	public String getNumber() 
	{
		return number;
	}
	public void setSeq(Integer seq) 
	{
		this.seq = seq;
	}

	public Integer getSeq() 
	{
		return seq;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("modelId", getModelId())
            .append("siteId", getSiteId())
            .append("type", getType())
            .append("name", getName())
            .append("number", getNumber())
            .append("seq", getSeq())
            .toString();
    }
}
